From e825a8b28cbe6894ed1c55d0bb6d8e903c3e4916 Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 16 Apr 2004 16:36:19 +0000 Subject: [PATCH] Correct stupid cut and paste. (Man, Ron's fast...) git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@787 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/main.c b/gpsbabel/main.c index cc45c8f37..477e2368a 100644 --- a/gpsbabel/main.c +++ b/gpsbabel/main.c @@ -160,8 +160,8 @@ main(int argc, char *argv[]) /* simulates the default behaviour of waypoints */ if (doing_nothing) global_opts.masked_objective |= WPTDATAMASK; - if (ovecs->rd_init == NULL) { - fatal ("Format does not support reading.\n"); + if (ovecs->wr_init == NULL) { + fatal ("Format does not support writing.\n"); } ovecs->wr_init(ofname); ovecs->write(); -- 2.30.2